package top.buyibuyi.course.pojo;

import lombok.Data;

import java.io.Serializable;

@Data
public class Admin implements Serializable {

    private int id;
    private String name;
    private String username;
    private String password;
    private String power;
    private String sex;
    private String phone;
    private String jobn;
    private String avatar;

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", power=" + power +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                ", jobn='" + jobn + '\'' +
                ", avatar='" + avatar + '\'' +
                '}';
    }
}
